package khai.tomcat.http;

import java.io.IOException;
import java.io.OutputStream;

public class Response {
    private OutputStream out;

    Response(OutputStream out) {
        this.out = out;
    }

    public void write(String s)   {
        try {
            this.out.write(s.getBytes());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
